<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){} %>
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css">
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
    <style>
        .noprivselect {
            background-color: #fb6e52;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px;">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11"
                        style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class=""><a href="/app/core/meeting/applymeeting" aria-expanded="false">会议申请</a></li>
                        <li class="active"><a href="/app/core/meeting/applymeeting?view=manage" aria-expanded="true">我申请的会议</a>
                        </li>
                    </ul>
                    <div class="tab-content tabs-flat">
                        <div class="buttons-preview" id="toobar">
                            <span style="margin-left: 10px">会议类型:</span>
                            <span>
										<select id="meetingType1" style="width: 150px"></select>
										</span>
                            <span style="margin-left: 10px;">会议时间:</span>
                            <span> <input type="text" class="form-control" id="beginTime1" readonly="readonly"
                                          style="width: 150px; display: inline-block;" name="beginTime1"
                                          placeholder="${i18n('system.beginTime')}">
											</span>
                            <span> - </span>
                            <span> <input type="text" class="form-control" id="endTime1" readonly="readonly"
                                          style="width: 150px; display: inline-block;" name="endTime1"
                                          placeholder="${i18n('system.endTime')}">
											</span>
                            <span style="margin-left: 10px;">会议主持:</span>
                            <span>
										<input type="text" class="form-control" id="chair1" name="chair1"
                                               readonly="readonly" style="width: 150px; display: inline-block;"
                                               placeholder="会议主持" opt-id="chair1" onclick="selectUser(this,'false');">
											</span>
                            <span style="margin-left: 10px">
												<a href="javascript:void(0);"
                                                   class="btn btn-success js-query-but">${i18n('system.search')}</a>
											</span>
                        </div>
                        <table id="myTable"></table>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade bs-example-modal-lg" id="applymeetingmodal" tabindex="-1" role="dialog"
     aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel">会议申请</h4>
            </div>
            <div class="modal-body" style="height: 400px;overflow-y: auto;">
                <form class="form-horizontal" id="form">
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">会议主题：</label>
                        <div class="col-sm-4">
                            <input type="text" id="subject" name="subject" class="form-control" placeholder="会议主题">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">会议类型：</label>
                        <div class="col-sm-4">
                            <select id="meetingType" name="meetingType" class="form-control"></select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">会议主持：</label>
                        <div class="col-sm-4">
                            <input type="text" id="chair" name="chair" class="form-control" placeholder="会议主持"
                                   opt-id="chair" onclick="selectUser(this,'false');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">会议室：</label>
                        <div class="col-sm-8">
                            <select id="roomId" name="roomId" class="form-control" style="border-radius: 0px;">
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">会议纪要员：</label>
                        <div class="col-sm-8">
                            <input type="text" id="notesUser" name="notesUser" class="form-control" placeholder="会议纪要员"
                                   opt-id="notesUser" onclick="selectUser(this,'false');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">${i18n('system.beginTime')}：</label>
                        <div class="col-sm-8">
                            <input type="text" id="beginTime" name="beginTime" class="form-control" placeholder="${i18n('system.beginTime')}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">${i18n('system.endTime')}：</label>
                        <div class="col-sm-8">
                            <input type="text" id="endTime" name="endTime" class="form-control" placeholder="${i18n('system.endTime')}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">内部参会人员：</label>
                        <div class="col-sm-8">
                            <input type="text" id="userJoin" name="userJoin" class="form-control" placeholder="参会人员"
                                   opt-id="userJoin" onclick="selectUser(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">内部参会部门：</label>
                        <div class="col-sm-8">
                            <input type="text" id="deptJoin" name="deptJoin" class="form-control" placeholder="内部参会部门"
                                   opt-id="deptJoin" onclick="selectDept(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">内部参会职务：</label>
                        <div class="col-sm-8">
                            <input type="text" id="levelJoin" name="levelJoin" class="form-control" placeholder="内部参会职务"
                                   opt-id="levelJoin" onclick="selectUserLevel(this,'true');">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">外部参会人员：</label>
                        <div class="col-sm-8">
                            <input type="text" id="otherJoin" name="otherJoin" class="form-control"
                                   placeholder="外部参会人员">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">会议资料：</label>
                        <div class="col-sm-8">
                            <div style="padding-top: 4px;">
                                <div id="show_meetingattach"></div>
                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file"
                                                                                                          onchange="fileUpLoad('meeting','meetingattach');"
                                                                                                          hidefocus="true" size="1"
                                                                                                          id="meetingattach"
                                                                                                          name="meetingattach"
                                                                                                          class="addfile"
                                                                                                          multiple="multiple"></a>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">附件权限：</label>
                        <div class="col-sm-8">
                            <label> <input type="radio" class="colored-danger" value="1" name="attachPriv"
                                           checked="checked"> <span class="text">在线阅读</span>
                            </label> <label> <input type="radio" class="colored-danger" value="2" name="attachPriv">
                            <span class="text">允许打印</span>
                        </label> <label> <input type="radio" class="colored-danger" value="3" name="attachPriv"> <span
                                class="text">允许下载</span>
                        </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">申请设备：</label>
                        <div class="col-sm-8">
                            <select id="deviceId" name="deviceId" style="width: 300px;" multiple="multiple">
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">备注：</label>
                        <div class="col-sm-8">
                            <textarea rows="" cols="" id="remark" name="remark" class="form-control"
                                      placeholder="备注"></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label no-padding-right">消息提醒：</label>
                        <div class="col-sm-8" id="msgType" style="padding-left:0px;">
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-save">${i18n('save')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){} %>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/assets/js/select2/select2.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/meeting/applymeetingmanage.js"></script>
</html>
